package cmpe.swe.purcom.model;

import java.util.Date;

public class Service {
	private Long id;
	private String name;
	private String description;
	private Integer serviceNumberRequested;
	private Date endDateTime;
	private String location;
	private Long communityid;
	private Integer serviceNumberContributed;

	public Service() {
		super();
	}

	/**
	 * Sets the properties of the Service object
	 * 
	 * @param id id property of the object
	 * @param name name property of the object
	 * @param description description of the object
	 * @param serviceNumberRequested number of requested service information
	 * @param endDateTime time property of the object
	 * @param location location property of the object
	 * @param communityid community property of the object
	 * @param serviceNumberContributed number of contributed service information 
	 */
	public Service(Long id, String name, String description,
			Integer serviceNumberRequested, Date endDateTime, String location,
			Long communityid, Integer serviceNumberContributed) {
		super();
		this.id = id;
		this.name = name;
		this.description = description;
		this.serviceNumberRequested = serviceNumberRequested;
		this.endDateTime = endDateTime;
		this.location = location;
		this.communityid = communityid;
		this.serviceNumberContributed = serviceNumberContributed;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getServiceNumberRequested() {
		return serviceNumberRequested;
	}

	public void setServiceNumberRequested(Integer serviceNumberRequested) {
		this.serviceNumberRequested = serviceNumberRequested;
	}

	public Date getEndDateTime() {
		return endDateTime;
	}

	public void setEndDateTime(Date endDateTime) {
		this.endDateTime = endDateTime;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public Long getCommunityid() {
		return communityid;
	}

	public void setCommunityid(Long communityid) {
		this.communityid = communityid;
	}

	public Integer getServiceNumberContributed() {
		return serviceNumberContributed;
	}

	public void setServiceNumberContributed(Integer serviceNumberContributed) {
		this.serviceNumberContributed = serviceNumberContributed;
	}



}
